<?php defined('SEJUJOPEFDNGJSL') or exit('Access denied');
$arrn = getnews();
$rns = $arrn[0];
?>
<body class="bg-df" style="background: #d9e0e7!important;padding-top:50px;">
<style type="text/css">
    .coverdesc {
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .8);
        top: 0px;
        left: 0px;
        z-index: 999999999999999999;
        overflow-y: scroll;
    }

    .coverdesc h1 {
        font-size: 30px;
        color: #fff;
        text-align: center;
        font-weight: 900;
        margin-top: 50px;
        margin-bottom: 30px;
    }

    .coverdesc .incover {
        width: 90%;
        max-width: 1200px;
        height: auto;
        margin: 0 auto;
        overflow: hidden;
        font-size: 16px;

        color: #fff;
        line-height: 24px;
    }

    .coverdesc .incover p {
        text-indent: 2em;
        margin-top: 10px;
    }

    .layui-layer-desc {
        width: 100% !important;
        left: 0px !important;
        top: 0px !important;
    }

    .coverdesc .yebut {
        width: 150px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-size: 16px;
        color: #fff;
        border-radius: 3px;
        background: rgba(1, 196, 196, .7);
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 40px;
        cursor: pointer;
    }
</style>
<!-- <div class="coverdesc">
    <div class="incover">
        <h1>凯莎国际投资风险提示书：</h1>
        <p>
            市场有风险，投资需谨慎！
        </p>
        <p>
            凯莎国际提供平台，投资者要理性判断和选择，理性操作，如果您不能承担市场风险，请您不要注册、登录、修改个人资料 等。
        </p>
        <p>
            投资人应当以自己合法拥有的资金投资，不得汇集他人资金参与投资项目。
        </p>
        <p>
            投资人承诺并保证已认真阅读本投资风险提示书，理解上文所揭示的所有风险，并愿意承担投资风险可能造成的损失，大 风车不对投资人的投资损失承担任何责任。
        </p>
        <p>
            祝您投资愉快，生活幸福！
        </p>
        <p>
            凯莎国际  客服部
        </p>
        <p>
            2017年2月21日
        </p>
    </div>
    <div class="yebut">点击确定</div>
</div> -->
<script type="text/javascript">
    $(".yebut").click(function () {
        $(".coverdesc").hide();
    });
</script>
<style>
    .navbar-fixed-top {
        margin-left: 220px;
    }

    @media screen and (min-width: 320px) and (max-width: 480px) {
        .navbar-fixed-top {
            margin-left: 0px;
        }

        .sidebar {
            padding-top: 45px;
        }
        .span_n2{display: block;}
    }

</style>
<div id="page-container" class="fade">
    <div class="navbar navbar-default navbar-fixed-top" style="border-color:transparent;background: transparent;">
        <!-- begin container-fluid -->
        <div class="container-fluid">
            <!-- begin mobile sidebar expand / collapse button -->
            <div class="navbar-header navbar-default navbar-fixed-top" style="border-color:transparent;">
                <div class="row" style="margin-right: 0;margin-left: 0;">
                    <div class="col-md-9 col-xs-9">
                        <div class="pbottom"
                             style="padding:12px 0;line-height:20px;color:#474b58;font-size:13px;padding-left:5px;">
                            <?php echo $GLOBALARR['sytitle']; ?>系统欢迎“<span
                                    style="color: #474b58;font-size:14px;"><?php echo $r['uname']; ?></span>”回来！
                        </div>
                    </div>
                    <div class="col-md-3  col-xs-3 pull-right">
                        <div class="pull-right">
                            <button type="button" class="navbar-toggle" data-click="sidebar-toggled"
                                    style="margin-right: 5px;padding:6px;margin-top: 9px;">
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                                <span class="icon-bar"></span>
                            </button>
                        </div>
                        <style type="text/css">
                            /* .blogo{line-height:45px;padding:0 5px;}
                             .blogo img{width: 110px;}
                     @media screen and (min-width:320px) and (max-width:480px){
                             .blogo{}
                             .blogo img{width:70px;}
                             .pbottom{padding-bottom:0px!important;padding-top:5px!important;}
                             .bg-df{padding-top: 80px!important;}
                         }*/
                        </style>
                        <!-- <div class="pull-right blogo">
                            <a href="http://www.biguyuan.com/" target="_blank">
                                <img src="theme/images/blogo.png" alt="">
                            </a>
                        </div> -->
                    </div>
                </div>
                <!-- <div class="pull-left pbottom" style="padding:12px 0;line-height:20px;color: #999;font-size:14px;padding-left:5px;">
                        凯莎国际系统欢迎“<span style="color: #e24a36;font-size:14px;"><?php echo $r['uname']; ?></span>>”回来，投资请使用闲置资金！
                    </div> -->


            </div>
            <!-- end mobile sidebar expand / collapse button -->
        </div>

        <!-- end container-fluid -->
    </div>
       <style>
        .blue {
            display: inline-block;
            width: 60px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            color: #fff;
            background-color: #5ddd02;
        }

        .orange {
            display: inline-block;
            width: 60px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            color: #fff;
            background-color: #f89d1b;
        }

        .green {
            display: inline-block;
            width: 60px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            color: #fff;
            background-color: #9c9c9c;
        }

        .gray {
            display: inline-block;
            width: 60px;
            height: 20px;
            text-align: center;
            line-height: 20px;
            color: #fff;
            background-color: #42abec;
        }

        .img_new {
            display: inline-block;
            margin-top: -2px;
            width: 20px;
            border-radius: 50%;
        }

        @media screen and (min-width: 320px) and (max-width: 480px) {
            .blue {
                display: inline-block;
                width: 80px;
                height: 20px;
                text-align: center;
                line-height: 20px;
                color: #fff;
                background-color: #5ddd02;
                margin-bottom: 3px;
            }

            .orange {
                display: inline-block;
                width: 80px;
                height: 20px;
                text-align: center;
                line-height: 20px;
                color: #fff;
                background-color: #f89d1b;
                margin-bottom: 3px;
            }

            .green {
                display: inline-block;
                width: 80px;
                height: 20px;
                text-align: center;
                line-height: 20px;
                color: #fff;
                background-color: #9c9c9c;
                margin-bottom: 3px;
            }

            .gray {
                display: inline-block;
                width: 80px;
                height: 20px;
                text-align: center;
                line-height: 20px;
                color: #fff;
                background-color: #42abec;
                margin-bottom: 3px;
            }
        }
    </style>
    <div class="content" style="padding:0;margin-top: -6px;">
        <div class="row xnb" style="text-align: center;padding:25px 0;background-color: #f1f1f3;color:#474b58;">
            <div class="col-md-4 col-xs-4" style="border-right:1px dashed #a4a5aa;">
                <span class="blue">CNY</span>
                <span class="orange">BTC</span>
                <span style="display: inline-block;font-size: 13px;">
                <img src="theme/images/bitcoin.png" alt="" class="img_new">
                 <?php echo getprice_rate()*getprice_btc();?>
                </span>
            </div>
            <div class="col-md-4 col-xs-4" style="border-right:1px dashed #a4a5aa;">
                <span class="blue">CNY</span>
                <span class="green">LTC</span>
                <span style="display: inline-block;font-size: 13px;">
                <img src="theme/images/litecoin.png" alt="" class="img_new">
                <?php echo (getprice_rate()*getprice_ltc());?>
            </span>
            </div>
            <div class="col-md-4 col-xs-4">
                <span class="blue">CNY</span>
                <span class="gray">VIC</span>
                <span style="display: inline-block;font-size: 13px;">
                <img src="theme/images/pbccoin.jpg" alt="" class="img_new">
                <?php echo getprice();?>
                </span>
            </div>
        </div>
    </div>
    <div id="content" class="content">
        <div class="row">
            <!-- begin col-3 -->
            <div class="col-md-4 col-sm-6">
                <div class="widget widget-state" style="background:#00aac4;">
                    <div class="state-icon"><i class="glyphicon glyphicon-gift"></i></div>
                    <div class="state-info">
                        <h4>VIC</h4>
                        <p><span style="font-size: 13px;font-weight: normal;">可用数量：</span><?php echo sprintf("%.4f",$r['cash_purse']); ?></p>
                        <p><span style="font-size: 13px;font-weight: normal;">锁仓数量：</span><?php echo sprintf("%.4f",$r['freeze_benjin']+$r['presentcoin']); ?></p>
                    </div>
                </div>
            </div>

            <!-- <div class="col-md-3 col-sm-6">
        <div class="widget widget-state" style="background:#dd1c21;">
            <div class="state-icon"><i class="glyphicon glyphicon-usd"></i></div>
            <div class="state-info">
                <h4>赠送赞币</h4>
                <p><?php echo round($r['presentcoin'],2); ?></p>
            </div>
        </div>
    </div>
     -->
            <!-- end col-3 -->
            <!-- begin col-3 -->
            <div class="col-md-4 col-sm-6">
                <div class="widget widget-state" style="background:#B8D200;">
                    <div class="state-icon"><i class="glyphicon glyphicon-lock"></i></div>
                    <div class="state-info">
                        <h4>锁仓收益</h4>
                        <p><span style="font-size: 13px;font-weight: normal;">可用数量：</span><?php echo sprintf("%.4f",$r['lixi_crash']); ?></p>
                        <p><span style="font-size: 13px;font-weight: normal;">锁仓数量：</span><?php echo sprintf("%.4f",$r['freeze_lixi']); ?></p>
                    </div>
                </div>
            </div>
            <!-- end col-3 -->
            <!-- begin col-3 -->
            <div class="col-md-4 col-sm-6">
                <div class="widget widget-state" style="background:#FF9800;">
                    <div class="state-icon"><i class="glyphicon glyphicon-briefcase"></i></div>
                    <div class="state-info">
                        <h4>团队收益</h4>
                        <p style="width:85%;"><span class="span_n2"><span style="font-size: 13px;font-weight: normal;">可用数量：</span><?php echo sprintf("%.4f",$r['keyong_ldprize']); ?></span><span style="font-size: 13px;font-weight: normal;"><!--冻结数量：</span><?php //echo sprintf("%.4f",$r['cash_ldprize']); ?>--></p>
                        <!-- <p><span style="font-size: 13px;font-weight: normal;">冻结数量：</span><?php echo sprintf("%.4f",$r['cash_ldprize']); ?></p> -->
                        <p><span style="font-size: 13px;font-weight: normal;">锁仓数量：</span><?php echo sprintf("%.4f",$r['freeze_ldj']); ?></p>
                    </div>
                </div>
            </div>
            <!-- end col-3 -->

        </div>